/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.pictavore.image

import com.pictavore.message.MessageType;

/**
 *
 * @author caleb
 */
class ImageMessage extends MessageType {
	public static ImageMessage IMAGE_UPDATED = new ImageMessage("IMAGE_UPDATED");
	public static ImageMessage DISPLAY_UPDATED = new ImageMessage("DISPLAY_UPDATED");
	public static ImageMessage NEW_IMAGE = new ImageMessage("NEW_IMAGE");
	public static ImageMessage NEW_SEGMENT = new ImageMessage("NEW_SEGMENT");

    // this is a responder message type, replace with injection?
    public static ImageMessage PRIMARY_IMAGE = new ImageMessage("PRIMARY_IMAGE");

    def ImageMessage(String name) {
        super(name)
    }
}

